// var i;
// var $bundleConfig = require("./BundleConfig");
// var $uIManager = require("./UIManager");
// var $uIConfig_Home = require("./UIConfig_Home");
// var u = cc._decorator;
// var d = u.ccclass;
// var p =
//     (u.property,
//     u.inspector,
//     (function (e) {
//         function t() {
//             var t = (null !== e && e.apply(this, arguments)) || this;
//             t.shuiGuoId = 0;
//             t.ciTiaoId = 0;
//             return t;
//         }
//         __extends(t, e);
//         t.prototype.ShowZaZhongInfo = function () {
//             $uIManager.default.open($bundleConfig.BundleNames.Home, $uIConfig_Home.UIView_Home.UI_ShowZaZhong, {
//                 shuiGuoId: this.shuiGuoId,
//                 ciTiaoId: this.ciTiaoId
//             });
//         };
//         return __decorate([d], t);
//     })(cc.Component));
// exports.default = p;

import {BundleNames} from "./BundleConfig";
import UIManager from "./UIManager";
import { UIView_Home } from "./UIConfig_Home";

const { ccclass, property, inspector } = cc._decorator;

/**
 * 建议类名: ZaZhongInfo
 */
@ccclass
class BagCiTiaoRichText extends cc.Component {
    /** 水果ID */
    public shuiGuoId: number = 0;

    /** 词条ID */
    public ciTiaoId: number = 0;

    /**
     * 显示杂种信息
     * 建议方法名: displayHybridInfo
     */
    public displayHybridInfo(): void {
        UIManager.open(BundleNames.Home, UIView_Home.UI_ShowZaZhong, {
            shuiGuoId: this.shuiGuoId,
            ciTiaoId: this.ciTiaoId
        });
    }
}

export default BagCiTiaoRichText;